package com.ruitu.router_module.bean.product;

import com.ruitu.router_module.bean.mine.Coupon;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/5/30.
 * 商品详情页,包含很多数据
 */
public class ProDetail implements Serializable {
    private List<GroupUser> collageUsers;
    private Company company;//企业
    private List<Product> goodsList;//详情页面的推荐商品列表
    private List<Coupon> coupons;//优惠券列表
    private PreSale goodsPreSale;//预售
    private int goodsCommentCount;
    private List<Img> imageList;//轮播图列表
    private List<Section> goodsSections;//区间价
    private Product goods;//商品信息

    //轮播图片
    public static class Img implements Serializable {
        private String id;//: "2194560935457501236",
        private String createTime;//: 1538003477000,
        private String type;//: 4,
        private String status;//: 1,
        private String url;//: "/images/goods/1838078210839628502_1538032266942.jpg",
        private String infoId;//: "5184383943013122619",
        private String intro;//: null

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getInfoId() {
            return infoId;
        }

        public void setInfoId(String infoId) {
            this.infoId = infoId;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }
    }

    //商品预售信息
    public static class PreSale implements Serializable {
        private String id;//: "8094905453150321459",
        private String goodId;//: "2463128061849521882",
        private String preSaleRatio;//: 12,  预付12%下单后12天发货
        private String preSaleDelivey;//: 15  预付12%下单后12天发货

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGoodId() {
            return goodId;
        }

        public void setGoodId(String goodId) {
            this.goodId = goodId;
        }

        public String getPreSaleRatio() {
            return preSaleRatio;
        }

        public void setPreSaleRatio(String preSaleRatio) {
            this.preSaleRatio = preSaleRatio;
        }

        public String getPreSaleDelivey() {
            return preSaleDelivey;
        }

        public void setPreSaleDelivey(String preSaleDelivey) {
            this.preSaleDelivey = preSaleDelivey;
        }
    }

    public int getGoodsCommentCount() {
        return goodsCommentCount;
    }

    public void setGoodsCommentCount(int goodsCommentCount) {
        this.goodsCommentCount = goodsCommentCount;
    }

    public Product getGoods() {
        return goods;
    }

    public void setGoods(Product goods) {
        this.goods = goods;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public List<Img> getImageList() {
        return imageList;
    }

    public void setImageList(List<Img> imageList) {
        this.imageList = imageList;
    }

    public List<Product> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Product> goodsList) {
        this.goodsList = goodsList;
    }

    public List<Coupon> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<Coupon> coupons) {
        this.coupons = coupons;
    }

    public List<Section> getGoodsSections() {
        return goodsSections;
    }

    public void setGoodsSections(List<Section> goodsSections) {
        this.goodsSections = goodsSections;
    }

    public List<GroupUser> getCollageUsers() {
        return collageUsers;
    }

    public void setCollageUsers(List<GroupUser> collageUsers) {
        this.collageUsers = collageUsers;
    }

    public PreSale getGoodsPreSale() {
        return goodsPreSale;
    }

    public void setGoodsPreSale(PreSale goodsPreSale) {
        this.goodsPreSale = goodsPreSale;
    }
}
